/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.triumphsys.icici.cmeeting.portlet.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the CMUser service. Represents a row in the &quot;CM_USER&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.triumphsys.icici.cmeeting.portlet.model.impl.CMUserModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.triumphsys.icici.cmeeting.portlet.model.impl.CMUserImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a c m user model instance should use the {@link CMUser} interface instead.
 * </p>
 *
 * @author Triumphsys
 * @see CMUser
 * @see com.triumphsys.icici.cmeeting.portlet.model.impl.CMUserImpl
 * @see com.triumphsys.icici.cmeeting.portlet.model.impl.CMUserModelImpl
 * @generated
 */
public interface CMUserModel extends BaseModel<CMUser> {
	/**
	 * Gets the primary key of this c m user.
	 *
	 * @return the primary key of this c m user
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this c m user
	 *
	 * @param pk the primary key of this c m user
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the user id of this c m user.
	 *
	 * @return the user id of this c m user
	 */
	public long getUserId();

	/**
	 * Sets the user id of this c m user.
	 *
	 * @param userId the user id of this c m user
	 */
	public void setUserId(long userId);

	/**
	 * Gets the user uuid of this c m user.
	 *
	 * @return the user uuid of this c m user
	 * @throws SystemException if a system exception occurred
	 */
	public String getUserUuid() throws SystemException;

	/**
	 * Sets the user uuid of this c m user.
	 *
	 * @param userUuid the user uuid of this c m user
	 */
	public void setUserUuid(String userUuid);

	/**
	 * Gets the user ip of this c m user.
	 *
	 * @return the user ip of this c m user
	 */
	public long getUserIp();

	/**
	 * Sets the user ip of this c m user.
	 *
	 * @param userIp the user ip of this c m user
	 */
	public void setUserIp(long userIp);

	/**
	 * Gets the user domain of this c m user.
	 *
	 * @return the user domain of this c m user
	 */
	@AutoEscape
	public String getUserDomain();

	/**
	 * Sets the user domain of this c m user.
	 *
	 * @param userDomain the user domain of this c m user
	 */
	public void setUserDomain(String userDomain);

	/**
	 * Gets a copy of this c m user as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public CMUser toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(CMUser cmUser);

	public int hashCode();

	public String toString();

	public String toXmlString();
}